const {Route} = require('../decorator/router')
const {resolve} = require('path')

exports.router = app => {
   const routesPaht = resolve(__dirname,'../router')
   const instance = new Route(app, routesPaht)
   instance.init()
}